package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DeviceCategory;
import com.zhijian.medical.entity.vo.request.DeviceCategorySearchVo;
import com.zhijian.medical.entity.vo.response.DeviceCategoryVo;

import java.util.List;

public interface DeviceCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceCategory record);

    int insertSelective(DeviceCategory record);

    DeviceCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceCategory record);

    int updateByPrimaryKey(DeviceCategory record);

    int count(DeviceCategorySearchVo deviceCategorySearchVo);

    List<DeviceCategoryVo> selectList(DeviceCategorySearchVo deviceCategorySearchVo);

    DeviceCategoryVo selectVoById(Long id);

}